/**
 * User: Obi
 * Date: 30.05.11
 * Time: 22:24
 */
package com.jediflasher.game_client {
	import com.jediflasher.game_client.utils.logging.Logger;
	import com.jediflasher.game_client.utils.logging.LoggerView;

	import flash.display.DisplayObject;

	import flash.display.Sprite;
	import flash.display.StageAlign;
	import flash.display.StageScaleMode;

	public class Main extends Sprite {

		public function Main() {
			super.stage.scaleMode = StageScaleMode.NO_SCALE;
			super.stage.align = StageAlign.TOP_LEFT;

			Logger.createView(super.stage);
			Logger.log("application init");

			super.addChild(new GameInitializer());

			super.addChild(Logger.view);
		}
	}
}
